package com.aifund.app.service.impl;

import com.aifund.app.service.FeedbackService;
import com.aifund.common.dao.FeedbackDao;
import com.aifund.common.entity.Feedback;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class FeedbackServiceImpl implements FeedbackService {


    @Autowired
    FeedbackDao feedbackDao;


    @Override
    @Transactional(rollbackFor = Exception.class)
    public void save(Feedback feedback) {
        feedbackDao.save(feedback);
    }
}
